export namespace="livekit-system"
export app_name="livekit-server"
export repo="livekit"
export helm="$repo/$app_name"
export url="https://helm.livekit.io"

# helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

# helm search repo emqx --devel --versions

helm upgrade --create-namespace --install \
    -n $namespace $app_name $helm \
    --values values.yaml --wait

# 升级完emqx版本 更新运行的应用pod

# kubectl rollout restart deploy/<Application deployment name>
